Skip to content

Conversation

@Mel-Chen
Copy link
Contributor

No description provided.

@llvmbot llvmbot added the llvm:analysis Includes value tracking, cost tables and constant folding label Nov 18, 2025
@Mel-Chen Mel-Chen requested review from ayalz and fhahn November 18, 2025 10:20
@llvmbot
Copy link
Member

llvmbot commented Nov 18, 2025

@llvm/pr-subscribers-llvm-analysis

Author: Mel Chen (Mel-Chen)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/168509.diff

1 Files Affected:

  • (modified) llvm/lib/Analysis/IVDescriptors.cpp (+1)
diff --git a/llvm/lib/Analysis/IVDescriptors.cpp b/llvm/lib/Analysis/IVDescriptors.cpp
index 641850b46bbd8..30d14b56ed82b 100644
--- a/llvm/lib/Analysis/IVDescriptors.cpp
+++ b/llvm/lib/Analysis/IVDescriptors.cpp
@@ -1250,6 +1250,7 @@ unsigned RecurrenceDescriptor::getOpcode(RecurKind Kind) {
   case RecurKind::FindLastIVUMax:
     // TODO: Set AnyOf and FindIV to Instruction::Select once in-loop reductions
     // are supported.
+    llvm_unreachable("AnyOf and FindIV do not support in-loop");
   default:
     llvm_unreachable("Unknown recurrence operation");
   }

@github-actions
Copy link

🐧 Linux x64 Test Results

  • 186270 tests passed
  • 4853 tests skipped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

llvm:analysis Includes value tracking, cost tables and constant folding

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants